#include "tools/ParamsHolder.h"

#include <iostream>

using sd::tools::params_holder::Param;

void printParam(const std::string& text, const Param& param )
{
	std::cout << text;
	std::cout << "	int:"    << (int)param;
	std::cout << "	string:" << (std::string)param;
	std::cout << "	double:" << (double)param << std::endl;
};


int main(int,char**)
{


	Param param;
	param = 42;
	printParam("int 42          - ", param);
	param = "42+2";
	printParam("string \"42+2\" - ",param);
	param = 42.2;
	printParam("double 42.2     - ",param);



	//std::cout << (const char*)param;



	std::cin.get();

	return 0;
}